#pragma once

#include "SqlProtocol.hpp"


class SqlClient
{
	static const int ERROR_PAUSE = 10*1000;

public:
	SqlClient();
	~SqlClient();

	SqlResponse & execute(const std::wstring &sql);

protected:
	bool execute(const std::wstring &sql, SqlResponse &response);

private:
	SqlResponse response;
};
